package com.jeesite.modules.dataScreen.web.dto;

import com.jeesite.modules.dataScreen.constants.SsmContactTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SsmContactUpdateDto {

    @NotNull(message = "分类code不能为空")
    @ApiModelProperty("分类code")
    private SsmContactTypeEnum code;

    @NotEmpty(message = "联系人不能为空")
    @ApiModelProperty("联系人ID")
    private List<Integer> userIds;
}
